<%-- 
    Document   : test
    Created on : Sep 9, 2011, 4:29:14 AM
    Author     : northpole
--%>

<%@page import="java.util.ArrayList"%>
<%@page import="user.User" contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="sidebar.css" media="screen" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Profile Page</title>

    </head>
    <body>
        <div id ="footbar">
        </div>
 <div id="rightbar" class="sidebox">
</div>
     <div id ="headbar">
            <h1>Abandonware <br/> Place</h1>
            <div id ="searchbar">
            </div>
	</div>
         
        <div id="leftbar" class="sidebox">
        
        </div>
        
        
<div id="text">
       </br><br/></br>
        <form action="registerUser.jsp" method="POST">
 <%if(request.getParameter("username")!=null)
                out.write("<input type=\"text\" username=\"username\" placeholder=\"your username\" value="+
            request.getParameter("username")+"/></br>");
            else
                 out.write("<input type=\"text\" username=\"username\" placeholder=\"your username\" /></br>");

            if(request.getParameter("password")!=null)
                out.write("<input type=\"text\" password=\"password\" placeholder=\"your password\" value="+
            request.getParameter("password")+"/></br>");
            else
                 out.write("<input type=\"text\" password=\"password\" placeholder=\"your password\" /></br>");
 
            if(request.getParameter("password")!=null)
                out.write("<input type=\"text\" password=\"password\" placeholder=\"repeat password\" value="+
            request.getParameter("password")+"/></br>");
            else
                 out.write("<input type=\"text\" password=\"password\" placeholder=\"repeat password\" /></br>");
 
            if(request.getParameter("name")!=null)
                out.write("<input type=\"text\" name=\"name\" placeholder=\"your name\" value="+
            request.getParameter("name")+"/></br>");
            else
                 out.write("<input type=\"text\" name=\"name\" placeholder=\"your name\" /></br>");
            if(request.getParameter("surname")!=null)
              out.write("<input type=\"text\" name=\"surname\" placeholder=\"your surname\" value="
                      +request.getParameter("surname")+"/></br>");
        else
            out.write("<input type=\"text\" name=\"surname\" placeholder=\"your surname\" /></br>");
    %>

    <%if(request.getParameter("dateOfBirth")!=null)
        out.write(" <input type=\"date\" name=\"dateOfBirth\" placeholder=\"your birh date\" value="
            +request.getParameter("dateOfBirth")+"></br>");
        else
            out.write(" <input type=\"date\" name=\"dateOfBirth\" placeholder=\"your birh date\" ></br>")
        ;%>


          
            
            <%if(request.getParameter("interests")!=null)
        out.write(" <input type=\"text\" name=\"interests\" placeholder=\"your interest\" value="
            +request.getParameter("interests")+"></br>");
        else
             out.write(" <input type=\"text\" name=\"interests\" placeholder=\"your interest\"></br>");
            
            %>
            


             <%if(request.getParameter("welcomeText")!=null)
        out.write(" <input type=\"text\" name=\"welcomeText\" placeholder=\"a welcome Text\" value="
            +request.getParameter("welcomeText")+"></br>");
               else
                    out.write(" <input type=\"text\" name=\"welcomeText\" placeholder=\"a welcome Text\" ></br>");
%>

           
            <input type="submit" value="Submit" />
        </form>
        </div>

   
    </body>
</html>